docs: Add a note about button 4 & 5
authorMatthias Clasen <mclasen@redhat.com>
Sat, 2 May 2015 15:55:00 +0000 (11:55 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Sat, 2 May 2015 15:55:57 +0000 (11:55 -0400)
gdk/gdktypes.h

index 7f45cee17f2ac918513f15115a705631613241d9..64e7243214ffd7ed13ae3c0f4c97d71588b1edfb 100644 (file)
@@ -207,6 +207,10 @@ typedef enum
  * reserved values such as %GDK_MODIFIER_RESERVED_13_MASK.  Your code
  * should preserve and ignore them.  You can use %GDK_MODIFIER_MASK to
  * remove all reserved values.
+ *
+ * Also note that the GDK X backend interprets button press events for button
+ * 4-7 as scroll events, so %GDK_BUTTON4_MASK and %GDK_BUTTON5_MASK will never
+ * be set.
  */
 typedef enum
 {